<layout name="Layout/layout" />
<div class="row">
	<div class="col-lg-12">
		<h1 class="page-header">用户</h1>
	</div>
	<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-default">
			<div class="panel-heading">
				修改
			</div>
			<!-- /.panel-heading -->
			<div class="panel-body">
				<form role="form" action="{:U('Admin/User/updateuserHandle')}" method="post">
					<div class="form-group">
						<label>用户名</label>
						<input type="text" name="username" class="form-control" placeholder="用户名，请输入有效的身份证号码（仅限18位）" value="{$user['username']}">
						<p class="help-block">系统不会对身份证的真实性做校验，只会检测长度是否是18位，如果您的身份证号码短于18位，请在末尾加0表示</p>
					</div>
					<div class="form-group">
						<label>姓名</label>
						<input type="text" name="name" class="form-control" placeholder="姓名，请输入该用户真实有效的姓名，以便区分" value="{$user['name']}">
					</div>
					<div class="form-group">
						<label>密码</label>
						<input type="password" name="password" disabled="true" class="form-control" placeholder="密码，请保证密码符合最低要求" value="{$user['password']}">
					</div>
					<div class="form-group">
						<label>角色</label>
						<select name="rid" class="form-control" value="{$user['role_id']}">
							<foreach name="rolelist" item="v">
								<option value="{$v['id']}">{$v['name']}</option>
							</foreach>
						</select>
					</div>
					<input type="hidden" name="uid" value="{$uid}"></input>
					<button type="submit" class="btn btn-default">修改</button>
					<button type="reset" class="btn btn-default">重置</button>
				</form>
			</div>
			<!-- /.panel-body -->
		</div>
		<!-- /.panel -->
	</div>
	<!-- /.col-lg-12 -->
</div>
